<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="./Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="./Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <!--<link href="./Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">-->
	    <link rel="shortcut icon" href="./Public/Admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	   
	</head>
	<body>
		<form action="" method="post">
			
			<div class="alert alert-success">添加商品分类</div>
			<table class="table table-bordered table-hover">
				<tr class="info">
					<td>所属类型</td>
					<td>
						<select name="type_tid" class="form-control">
							<option value="0">请选择</option>
							{{foreach from="$type" value="$v"}}
								<option value="{{$v['tid']}}">{{$v['name']}}</option>
							{{endforeach}}
						</select>
					</td>
				</tr>
				<tr class="info">
					<td>分类名称</td>
					<td>
						<input class="form-control" type="text" name="cname" id="cname" value="" />
					</td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<input type="hidden" name="pid" id="pid" value="{{Q('get.cid')}}" />
						<input class="btn btn-primary btn-lg active" type="submit" value="添加分类" style="float: left;"/>
					</td>
				</tr>
			</table>
			
		</form>
	</body>
</html>
